<template>
	<view>
		<u-modal :show="show" :title="title" :confirmText="confirmText" @confirm="confirm">
			<view slot="default" class="modal-content">{{content}}</view>
		</u-modal>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				title: '公告',
				confirmText: '知道了',
				content: '您好，当前版本未内测版，限内部使用版本，外部人员请勿使用',
			}
		},
		props: {
			show: {
				type: Boolean,
				default: false,
			}
		},
		mounted() {},
		methods: {
			// 确定
			confirm() {
				this.$emit('close');
			},
		}
	}
</script>
<style lang="scss">
	.modal-content {
		max-height: 600rpx;
		overflow-y: scroll;
	}
</style>
